package com.hulman.oms.dao;

import com.hulman.oms.bean.MonthReport;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author: maxwellens
 */
@Mapper
public interface MonthReportDao
{
    List<MonthReport> findMonthReports(Map<String, Object> map);

    Integer findMonthReportsCount(Map<String, Object> map);

    MonthReport findMonthReportById(Integer id);

    int insertMonthReport(MonthReport monthReport);

    void deleteMonthReportById(Integer id);

    void deleteMonthReports(int[] ids);

    int updateMonthReport(MonthReport monthReport);
}
